package com.lilinling.yinzhi.order.feign;

import com.lilinling.yinzhi.order.vo.OrderConfirmVo;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("yinzhi-user")
public interface UserFeignService {

    @ApiOperation("根据制作人id查询制作人信息（订单系统远程调用）")
    @GetMapping("/makerorder/{makerId}")
    OrderConfirmVo getMakerOrderVoByMakerId (@PathVariable("makerId") Long makerId);
}
